package day06;

public class ExpandContact {
    public static void main(String[] args) {
        int[] arr=generate(10,30);

    }
    public static int[] generate(int i,int k){
        int[] arr = new int[i];
        for (int j = 0 ;j<arr.length;j++){
            arr[j] = (int)(Math.random()*(k+1));
            System.out.println(arr[j]);
        }
        return arr;
    }
}
